<?php

class Client_Table_Resource extends Apk_Db_Table
{
	protected $_name = 'accounts_resources';
	protected $_primary = 'name';

	protected $_dependentTables = array('Client_Table_Rule', 'Client_Table_Resource', 'Client_Table_Privilege');

	protected $_referenceMap = array('Parent' => array(
            								            'columns'       => 'parent_id',
            								            'refTableClass' => 'Client_Table_Resource',
            								            'refColumns'    => 'id'));
}
?>